package cn.topcodes.tcsf.app.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author Unicorn
 */
@Data
@Table(name = "t_app_advice")
public class Advice extends IdEntity {

    public static final String FIELD_CONTENT = "content";

    public static final String FIELD_EMAIL = "email";

    public static final String FIELD_TEL = "tel";

    public static final String FIELD_USERNAME = "username";

    public static final String FIELD_APP_USER_ID = "appUserId";

    public static final String FIELD_REAL_NAME = "realName";

    private String content;

    private String email;

    private String tel;

    private String username;

    @Column(name = "app_user_id")
    private Long appUserId;

    @Column(name = "real_name")
    private String realName;
}
